import {
  CTX,
  IControlController,
  IControlProvider,
} from '@ibiz-template/runtime';
import { IControl } from '@ibiz/model-core';
import { CardSearchbarController } from './card-searchbar.controller';

export class CardSearchbarProvider implements IControlProvider {
  component: string = 'IBizCardSearchbar';

  createController(
    model: IControl,
    context: IContext,
    params: IParams,
    ctx: CTX,
  ): IControlController {
    return new CardSearchbarController(model, context, params, ctx);
  }
}
